package com.tb.mapper;

import com.tb.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    void register(Student student);

    List<Student> findAll();

    List<Student> findAll(@Param("collegeId") int collegeId, @Param("professionId") int professionId);

    int count();

    Student findOne(Student student);

    void modify(Student student);
}
